
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont">&#x3456;</i>
                    <div class="name">母婴玩具</div>
                    <div class="code">&amp;#x3456;</div>
                    <div class="fontclass">.muyingwanju</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0047;</i>
                    <div class="name">运动</div>
                    <div class="code">&amp;#xf0047;</div>
                    <div class="fontclass">.yundong</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3453;</i>
                    <div class="name">家具建材</div>
                    <div class="code">&amp;#x3453;</div>
                    <div class="fontclass">.jiajujiancai</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#xf0048;</i>
                    <div class="name">内衣</div>
                    <div class="code">&amp;#xf0048;</div>
                    <div class="fontclass">.neiyi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3484;</i>
                    <div class="name">母婴产品</div>
                    <div class="code">&amp;#x3484;</div>
                    <div class="fontclass">.muyingchanpin</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3485;</i>
                    <div class="name">生鲜水果</div>
                    <div class="code">&amp;#x3485;</div>
                    <div class="fontclass">.shengxianshuiguo</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3486;</i>
                    <div class="name">食品饮料</div>
                    <div class="code">&amp;#x3486;</div>
                    <div class="fontclass">.shipinyinliao</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3482;</i>
                    <div class="name">粮油副食</div>
                    <div class="code">&amp;#x3482;</div>
                    <div class="fontclass">.liangyoufushi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3483;</i>
                    <div class="name">美容洗护</div>
                    <div class="code">&amp;#x3483;</div>
                    <div class="fontclass">.meirongxihu</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x346d;</i>
                    <div class="name">鞋</div>
                    <div class="code">&amp;#x346d;</div>
                    <div class="fontclass">.xie</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x346c;</i>
                    <div class="name">男装</div>
                    <div class="code">&amp;#x346c;</div>
                    <div class="fontclass">.nanzhuang</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3455;</i>
                    <div class="name">食品</div>
                    <div class="code">&amp;#x3455;</div>
                    <div class="fontclass">.shipin</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3457;</i>
                    <div class="name">数码手机</div>
                    <div class="code">&amp;#x3457;</div>
                    <div class="fontclass">.shumashouji</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3459;</i>
                    <div class="name">女装内衣</div>
                    <div class="code">&amp;#x3459;</div>
                    <div class="fontclass">.nvzhuangneiyi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x345d;</i>
                    <div class="name">汽车配件</div>
                    <div class="code">&amp;#x345d;</div>
                    <div class="fontclass">.qichepeijian</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3460;</i>
                    <div class="name">医药保健</div>
                    <div class="code">&amp;#x3460;</div>
                    <div class="fontclass">.yiyaobaojian</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3461;</i>
                    <div class="name">图书音像</div>
                    <div class="code">&amp;#x3461;</div>
                    <div class="fontclass">.tushuyinxiang</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3448;</i>
                    <div class="name">手机</div>
                    <div class="code">&amp;#x3448;</div>
                    <div class="fontclass">.shouji</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x3454;</i>
                    <div class="name">家用电器</div>
                    <div class="code">&amp;#x3454;</div>
                    <div class="fontclass">.jiayongdianqi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x344e;</i>
                    <div class="name">钻石</div>
                    <div class="code">&amp;#x344e;</div>
                    <div class="fontclass">.zuanshi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x344f;</i>
                    <div class="name">鞋\箱包</div>
                    <div class="code">&amp;#x344f;</div>
                    <div class="fontclass">.xiexiangbao</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x345c;</i>
                    <div class="name">化妆品</div>
                    <div class="code">&amp;#x345c;</div>
                    <div class="fontclass">.huazhuangpin</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x345e;</i>
                    <div class="name">家纺家饰</div>
                    <div class="code">&amp;#x345e;</div>
                    <div class="fontclass">.jiafangjiashi</div>
                </li>
            
                <li>
                <i class="icon iconfont">&#x345f;</i>
                    <div class="name">居家</div>
                    <div class="code">&amp;#x345f;</div>
                    <div class="fontclass">.jujia</div>
                </li>
            
        </ul>


        <div class="helps">
            第一步：使用font-face声明字体
            <pre>
@font-face {font-family: 'iconfont';
    src: url('iconfont.eot'); /* IE9*/
    src: url('iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('iconfont.woff') format('woff'), /* chrome、firefox */
    url('iconfont.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url('iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}
</pre>
第二步：定义使用iconfont的样式
            <pre>
.iconfont{
    font-family:"iconfont" !important;
    font-size:16px;font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
</pre>
第三步：挑选相应图标并获取字体编码，应用于页面
<pre>
&lt;i class="iconfont"&gt;&amp;#x33;&lt;/i&gt;
</pre>
        </div>

    </div>
</body>
</html>
